<?php
$allowAll = array();
$allowOnly = array();

$allowAll['session']['login'] = True;
$allowAll['session']['index'] = True;
$allowAll['activity']['show'] = True;
//$allowAll['session']['profile'] = True;
$allowAll['session']['register'] = True;
$allowAll['common']['unathorized'] = True;
$allowAll['session']['logout'] = True;

// $allowOnly[group][controller][action];

$allowOnly[1]['session']['profile'] = True;
$allowOnly[2]['session']['profile'] = True;

$allowOnly[1]['activity']['add'] = True;
$allowOnly[2]['activity']['add'] = True;

$allowOnly[1]['admin']['list_users'] = True;
$allowOnly[1]['session']['delete_user'] = True;
$allowOnly[1]['session']['validate_user'] = True;

$allowOnly[1]['userControl']['subscribe'] = True;
$allowOnly[2]['userControl']['subscribe'] = True;

$allowOnly[1]['userControl']['unsubscribe'] = True;
$allowOnly[2]['userControl']['unsubscribe'] = True;

$allowOnly[1]['activity']['delete'] = True;

$allowOnly[2]['common']['home'] = True;
$allowOnly[1]['common']['home'] = True;
$allowOnly[1]['admin']['index'] = True;
?>